﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ClothList.aspx.cs" Inherits="AlbonWeb.Manager.OrderManager.AddCloth" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Buy Cloth</title>
    <script src="/js/ADS.js" type="text/javascript"></script>
    <script src="/js/content.js" type="text/javascript"></script>
    <link href="/css/Content.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        html, body, form
        {
            height: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="rod_left">
    </div>
    <div class="rod_right">
    </div>
    <div class="main_contented">
        <div class="right_top">
            <span class="scon_word">Order>>Buy Cloth</span>
        </div>
        <table width="750" border="0" class="table_add" cellpadding="0" cellspacing="0">
            <tr class="content_title">
                <td align="left">
                    &nbsp<asp:Label ID="refNo" class="lbInfo" runat="server" Text=""></asp:Label>
                </td>
                <td align="right">
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td colspan="2">
                    <table width="90%" cellpadding="0" cellspacing="0" border="1" bordercolor="#AFDA8C"
                        class="tb_list">
                        <asp:Repeater ID="repMain" runat="server">
                            <HeaderTemplate>
                                <tr class="tr_list_head">
                                    <td>&nbsp;
                                    </td>
                                    <td style="width:15%">
                                       Ref No
                                    </td>
                                    <td>
                                        Items Name
                                    </td>
                                    <td>
                                        Qty
                                    </td>
                                    <td>
                                        Style Name
                                    </td>
                                    <td>
                                        Cloth Company
                                    </td>
                                    <td>
                                        Cloth No
                                    </td>
                                    <td>
                                        Width
                                    </td>
                                    <td>
                                        Cloth Size
                                    </td>
                                    <td>
                                        Cloth Status
                                    </td>
                                </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr class="tr_list_content">
                                    <td>
                                        <input type="checkbox" class="check_item" value='<%#Eval("ID")%>' <%#(Eval("statusID").ToString()!="1")?"disabled='disabled'":"" %> />
                                    </td>
                                    <td>
                                        <%#Eval("refNo")%>
                                    </td>
                                    <td>
                                        <%#Eval("itemName") %>
                                    </td>
                                    <td>
                                        <%#Eval("quantity") %>
                                    </td>
                                    <td>
                                        <%#Eval("styleName")%>
                                    </td>
                                    <td>
                                        <%#Eval("companyName") %>
                                    </td>
                                    <td>
                                        <%#Eval("clothNo")%>
                                    </td>
                                    <td>
                                        <%#Eval("widthKind") %>
                                    </td>
                                    <td>
                                        <%#Eval("clothSize") %>
                                    </td>
                                    <td>
                                        <label style='color: <%#(Eval("statusID").ToString()=="1")?"red":"" %>'>
                                            <%#Eval("statusName")%></label>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                        <tr class="netpager">
                            <td>
                                <input type="checkbox" class="check_all" title="select all" />
                                <asp:HiddenField ID="hfchecklist" runat="server" />
                            </td>
                            <td colspan="9" align="left">
                                <asp:Button ID="totalCloth" class="checklist" runat="server" Text="Total Cloth" 
                                    onclick="totalCloth_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td>
                    &nbsp;
                </td>
                <td align="right">
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
